package com.april.controller;

import com.april.pojo.TbItemParam;
import com.april.service.ItemParamService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @Author: 槐序 廿一
 * @Date: 2023-06-19
 * @Time: 20:58
 * @Description:
 */
@RestController
@RequestMapping("itemParam")
public class ItemParamServiceController {

    @Resource
    ItemParamService itemParamService;

    @RequestMapping("provider/selectItemParamByItemCatId")
    TbItemParam selectItemParamByItemCatId(@RequestParam("itemCatId") Long itemCatId){
        return itemParamService.selectItemParamByItemCatId(itemCatId);
    }
}
